package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {
    public Member findByTelephone(String telephone);
    public void add(Member member);
    public List<Integer> findMemberCountByMonths(List<String> months);

    PageResult findPage(QueryPageBean queryPageBean);

    Member findById(Integer id);

    void edit(Member member);

    void deleteById(Integer id);

    Map<String, List> findNumber() throws Exception;
}
